body.loading {
    overflow: hidden;
}


/* можно вообще скрыть */
body.loading>*:not(#preloader) {
    opacity: 0;
}

/* прелоадер */
#preloader {
    position: fixed;
    inset: 0;
    background: #C70709;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #FFFFEE;
    font-size: 40px;

    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* плавное появление сайта */
body.loaded>*:not(#preloader) {
    opacity: 1;
    transition: opacity 0.5s ease;
}


.loader-gif {
    width: 200px;
    /* регулируешь */
    height: auto;
}


@font-face {
    font-family: 'A24';
    src: url("../fonts/A24-Regular.otf") format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Regular.ttf") format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Medium.ttf") format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-SemiBold.ttf") format('truetype');
    font-weight: 600;
    font-display: swap;
}

a {
    cursor: pointer;
}

/* Начальное состояние: скрыто */
.header,
.preview {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
    /* Плавность появления */
}

/* Состояние после окончания видео */
.header.visible,
.preview.visible {
    opacity: 1;
    pointer-events: all;
}

:root {
    --header-height: clamp(70px, 10vw, 115px);
    --red: #C70709;
    --cream: #FFFCEB;
    --ratio: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--red);
    background-color: #FFFFEE;
    overflow-x: hidden;
    /* Защита от горизонтального скролла */
}

.mobile {
    display: none;
}

.unmobile {
    display: inherit;
}

/* ================= HEADER ================= */
header {
    width: 100%;
    position: sticky;
    z-index: 100;
    top: 0;
}

.header {
    background-color: #FFFFEE;
    color: var(--red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 2vw, 10px) clamp(15px, 4vw, 30px);
    transition: all 0.3s ease;
}

.menu-icon img {
    cursor: pointer;
    width: clamp(30px, 6vw, 100px);
    height: auto;
}

.logo {
    font-family: 'A24', sans-serif;
    line-height: 0.8;
    font-size: clamp(40px, 8vw, 140px);
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: clamp(5px, 1.5vw, 15px);
}

.header-icons img {
    width: clamp(20px, 3.5vw, 60px);
    height: auto;
    cursor: pointer;
}

.active {
    background-color: #C70709;
    color: #FFFFEE;
}

.menu-icon.active img {
    width: 100px;
    src: url("../icons/menu-icon-reverse.svg");
}

@media (max-width: 768px) {
    .mobile {
        display: block;
    }

    .unmobile {
        display: none;
    }

    .header-icons a {
        display: none;
    }

    .header-icons a:last-of-type {
        display: block;
    }

    .header-icons img {
        width: clamp(20px, 7.5vw, 60px);
    }

    .menu-icon img,
    .header-icons a {
        width: clamp(30px, 9vw, 60px);
        margin: 0px 5px;
    }

    .logo {
        position: absolute;
        left: 5%;

    }
}

/* ================= MARQUEE ================= */
.marquee {
    position: sticky;
    top: calc(8vw + 10px);
    z-index: 5;
    background-color: #FFFFEE;
    color: var(--red);
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(20px, 4vw, 40px);
    margin: 10px 0;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    width: 100%;
}

.marquee-track span {
    white-space: nowrap;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ================= PREVIEW / HERO ================= */
.preview {
    display: flex;
    flex-direction: column;
    background-color: var(--red);
    min-height: calc(100vh - var(--header-height));
    position: relative;
}

.preview-content {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 clamp(15px, 5vw, 50px);
    gap: 30px;
}

#preview-content-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

#preview-content-left img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

#preview-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFEE;
    gap: 20px;
    margin-bottom: 6vw;
}

#preview-text-main {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
}

#preview-text-second {
    font-size: clamp(16px, 2.5vw, 40px);
    font-weight: 500;
    line-height: 1.3;
}

#preview-content-right button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 2.5vw, 50px);
    background-color: #FFFFEE;
    color: var(--red);
    border-radius: 20px;
    border: none;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 40px);
    width: fit-content;
    cursor: pointer;
    transition: transform 0.2s;
}

#preview-content-right button:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .marquee {
        top: calc(11vw + 20px);
    }
    #obratka{
        padding-top: 12vw;
    }

    .preview-content {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }

    #preview-content-right {
        width: 90%;
        display: flex;
        align-items: flex-start;
        justify-content: start;
        text-align: left;
        gap: 10px;
    }

    #preview-content-left img {
        object-fit: contain;
    }

    #preview-text-main {
        font-size: clamp(15px, 6vw, 30px);
    }

    #preview-text-second {
        font-size: clamp(10px, 4.5vw, 25px);
        font-weight: 500;
    }

    #preview-content-right button {
        margin-top: 20px;
        width: 50%;
        padding: 12px 15px;
        font-size: clamp(15px, 6vw, 30px);

    }
}

/* ================= INTRO VIDEO ================= */
.intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-wrap {
    width: 100%;
    height: 100vh;
}

.intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

@media (max-width: 768px) {
    .intro {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .video-wrap {
        width: 100%;
    }


}

/* ================= ABOUT US ================= */
.about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: clamp(30px, 8vw, 120px) clamp(15px, 5vw, 40px);
    gap: clamp(40px, 6vw, 80px);
    margin-bottom: 1vw;
}

.about-us-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: clamp(20px, 4vw, 80px);
}


.about-us-content-text {
    flex: 1;
    min-width: 280px;
}

.about-us-content-text h2 {
    font-family: 'A24', sans-serif;
    line-height: 0.8;
    font-size: clamp(40px, 6vw, 90px);
    margin-bottom: 20px;
}

.about-us-content-text h3 {
    color: black;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 30px);
    line-height: 1.4;
}

.about-us-content img {
    width: clamp(150px, 30vw, 350px);
    height: auto;
}

@media (max-width: 768px) {
    .about-us {
        padding-top: 40%;
        padding-bottom: 30%;
    }

    .about-us-content,
    .about-us-content:nth-child(even) {
        flex-direction: column-reverse;
        text-align: center;
    }
}

/* ================= CATALOG ================= */
.catalog {
    position: relative;
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.slider-color {
    width: 100%;
    flex: 1;
    display: flex;
}

.slide {
    width: 100%;
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.slide-layers {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.layer {
    flex: 0 0 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

}

.layer.back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 1280px;
}

.layer.back {
    align-items: center;
}

.back {
    width: 100%;
}

.catalog.active-back .slide-layers {
    transform: translateY(-100%);
}

#catalog-buy-button.active-back,
.buy-text.active-back {
    transform: translateY(-100vw);

}

.title-color {
    font-family: 'A24', sans-serif;
    line-height: 0.8;
    font-size: clamp(40px, 6vw, 80px);
    margin: 20px clamp(15px, 5vw, 40px);
}

.slide-content {
    padding-left: 15%;
}

.slide-content-control {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(10px, 2vw, 50px);
    gap: clamp(10px, 3vw, 40px);
}

.slide-button-left,
.slide-button-right {
    width: clamp(25px, 4vw, 50px);
    cursor: pointer;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: auto;
}

.slide-price {
    position: absolute;
    top: 45%;
    right: -5%;
    font-weight: 600;
    font-size: clamp(24px, 4vw, 80px);
    width: clamp(150px, 25vw, 300px);

    text-align: center;
    transform: translateX(-50%);
}

.catalog-buy-wrapper {
    position: absolute;
    right: -5%;
    top: 55%;
    width: clamp(150px, 25vw, 300px);
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);


}

.catalog-buy-button {
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);

}

.buy-text {
    position: absolute;
    color: #fff;
    font-size: clamp(20px, 3.5vw, 40px);
    font-weight: 600;
    text-transform: lowercase;
    pointer-events: none;
    margin-top: -5%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);

}

.slide img {
    user-select: none;
    /* нельзя выделять текст */
    -webkit-user-drag: none;
    /* отключает “таскание” на iOS и Chrome */
    pointer-events: none;
    /* опционально, если картинка не требует клика */
}

@media (max-width: 768px) {
    .catalog {
        background-color: #C70709;
        color: #FFFFEE;
    }

    .catalog::before {
        content: "внешка";
        font-family: 'A24', sans-serif;
        font-size: clamp(40px, 18vw, 100px);
        margin-top: 15%;
        margin-left: 5%;

    }

    .underside {
        margin-top: 10%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: left;
        width: 100%;
    }

    .underside::before {
        content: "изнанка ";
        font-family: 'A24', sans-serif;
        font-size: clamp(40px, 18vw, 100px);
        margin-top: 15%;
        margin-bottom: 5%;
        margin-left: 5%;

    }

    .underside img {
        width: 100%;
        /* height: 100vh; */
    }

    .slide-price {
        position: static;
        text-align: center;
        margin-top: 20px;
    }

    .slide-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .catalog-buy-wrapper {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin-top: 2%;
    }


    .layer {
        width: 100%;
    }

    .layer.front {
        /* margin-top: -20%; */
        position: relative;
        top: -10%;
    }

    .title-color {
        font-size: clamp(40px, 14vw, 140px);
        margin: 20px 5px;
    }

    .slide-content-control {
        color: #C70709;
        display: flex;
        flex-direction: column;
        border-radius: 5%;
        padding: 50px 10px;
        background-color: #FFFFEE;
        width: 80%;
    }

    .slide-content-control img {
        width: 80%;

    }

    .slide-content-control svg {
        display: none;
    }

    .slide-price {
        transform: translateX(0);
        width: 60%;
        margin-top: 10%;
        font-size: clamp(40px, 11vw, 140px);

    }

    .buy-text {
        color: #C70709;
    }

    #catalog-buy-button path {
        fill: #FFFFEE;
    }

    #track {
        touch-action: pan-y;
        will-change: transform;
    }


}

#track {
    touch-action: pan-y;
    /* разрешаем вертикальный скролл, свайп горизонтально JS */
    -webkit-overflow-scrolling: touch;
    /* плавность на iOS */
}

/* ================= TOGGLE ================= */
.toggle-container {
    position: absolute;
    bottom: clamp(20px, 5vh, 40px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.toggle-input {
    display: none;
}

.toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    width: clamp(240px, 40vw, 280px);
    height: clamp(45px, 6vw, 54px);
    border: 1.5px solid var(--red);
    border-radius: 50px;
    cursor: pointer;
    user-select: none;
}

.toggle-text {
    flex: 1;
    text-align: center;
    color: var(--red);
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 600;
    z-index: 1;
    transition: color 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 6px);
    border: 2px solid var(--red);
    border-radius: 40px;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-text {
    color: var(--red);
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 800;
}

.toggle-input:checked+.toggle-label .toggle-slider {
    transform: translateX(100%);
}

/* ================= SKATEBOARD ================= */
.skate-slider-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #FFFFEE;
    background: url('../media/road.png');
    object-fit: contain;
    background-repeat: no-repeat;
    /* Чтобы картинка не дублировалась */
    background-size: cover;
    /* Чтобы картинка заполнила весь блок */
    background-position: center;
}

.skate-sliderTrack {
    margin-top: 20%;
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.skate-slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.skate-slide p {
    position: relative;
    left: 30%;
    color: #000;
    font-size: clamp(30px, 2.5vw, 50px);
    width: 60%;
    font-weight: 600;
}

.skate-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#skater {
    position: absolute;
    z-index: 5;
    transition: transform 0.5s ease;
    /* плавное движение */
}


#skater img {
    width: 8vw;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    /* Сбрасываем дефолтные стили */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;

    /* Управляем размером кнопки через переменную для удобства */
    --btn-size: clamp(40px, 8vw, 70px);
    width: 4vw;
    height: calc(var(--btn-size) * 2);
    /* Соотношение сторон под твои SVG */

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .skate-slider-viewport {
        background: url('../media/road-mobile.png');
        background-repeat: no-repeat;
        /* Чтобы картинка не дублировалась */
        background-size: cover;
        /* Чтобы картинка заполнила весь блок */
        background-position: center;
    }

    #skater img {
        width: 20vw;
    }

    .skate-slide p {
        font-size: clamp(20px, 2.5vw, 50px);
        width: 80%;
        margin-left: -20%;
    }
}


/* Стили для самих SVG внутри кнопок */
.nav-btn svg {
    width: 100%;
    height: auto;
    transition: stroke-width 0.3s ease, transform 0.3s ease;
}

/* Позиционирование */
.prev {
    left: clamp(10px, 2vw, 30px);
}

.next {
    right: clamp(10px, 2vw, 30px);
}

/* Эффекты при наведении */
.nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.9);
}

/* Меняем толщину линии при наведении, если хочешь добавить дерзости */
.nav-btn:hover path {
    stroke-width: 8px;
    /* Линия становится жирнее */
}

/* Эффект для неактивных кнопок (если слайдер закончился) */
.nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Небольшой фикс для мобилок: убираем синий контур при нажатии */
.nav-btn:focus {
    outline: none;
}

/* ================= REVIEWS ================= */
.reviews-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--red);
    min-height: 100vh;
}

.reviews-title {
    color: #FFFFEE;
    font-family: 'A24', sans-serif;
    font-weight: 400;
    font-size: clamp(50px, 8vw, 110px);
    margin-bottom: clamp(30px, 5vw, 60px);
    text-align: center;
}

.reviews-container {
    display: flex;
    justify-content: space-around;
    gap: clamp(20px, 3vw, 30px);
    flex-wrap: wrap;
}

.review-card {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-wrapper {
    width: clamp(100px, 20vw, 250px);
    overflow: hidden;
    z-index: 2;
    /* Наплыв на плашку */
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-bubble {
    text-wrap: balance;
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 30px;
    width: 100%;
    flex-grow: 0.9;
    /* Карточки одной высоты */
    display: flex;
    align-items: flex-start;
    z-index: 1;
}

.review-bubble p {
    text-wrap: balance;
    font-size: clamp(14px, 1.5vw, 19px);
    font-weight: 500;
    margin: 0;
}


@media (max-width: 768px) {
    .avatar-wrapper {
        width: 40vw;
        margin-bottom: 5vw;
    }

    .review-bubble {
        width: 80%;
        margin-bottom: 10vw;
    }
}

/* ================= FAQ ================= */
.faq-section {
    background-color: var(--red);
    padding: clamp(30px, 5vw, 60px) clamp(15px, 4vw, 30px);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-title {
    font-family: 'A24', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 8vw, 100px);
    margin-bottom: clamp(20px, 4vw, 40px);
    text-align: center;
}

.faq-container {
    border: 1.5px solid white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    border-bottom: 1.5px solid white;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: clamp(15px, 3vw, 25px) clamp(15px, 3vw, 30px);
    font-size: clamp(18px, 2.5vw, 40px);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: background 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
    max-height: 500px;
    /* Увеличено для мобилок */
}

.faq-answer-content {
    color: #000;
    font-weight: 600;
    background-color: #FFFFEE;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: clamp(15px, 3vw, 25px) clamp(15px, 3vw, 40px);
}

.faq-item.active .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-content p {
    font-size: clamp(14px, 2vw, 33px);
    line-height: 1.5;
    margin: 0;
    width: 100%;
}

.faq-plus {
    position: relative;
    width: clamp(16px, 2vw, 24px);
    height: clamp(16px, 2vw, 24px);
    flex-shrink: 0;
    transition: transform 0.4s ease;
    margin-left: 15px;
}

.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-plus::before {
    width: 100%;
    height: clamp(3px, 0.5vw, 7px);
}

.faq-plus::after {
    width: clamp(3px, 0.5vw, 7px);
    height: 100%;
}

.faq-item.active .faq-plus {
    transform: rotate(45deg);
}

/* ================= CONTACTS ================= */
.contacts-section {
    background-color: var(--red);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: clamp(40px, 5vw, 80px) clamp(15px, 4vw, 40px);
}

.contacts-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts-title {
    font-family: 'A24', sans-serif;
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

.contacts-subtitle {
    font-weight: 500;
    font-size: clamp(20px, 4vw, 50px);
    margin-bottom: clamp(30px, 5vw, 50px);
}

.contacts-info {
    font-size: clamp(20px, 4vw, 50px);
    margin-bottom: clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link,
.contact-text {
    font-weight: 500;
    text-decoration: none;
    color: white;
    word-break: break-word;
    /* Если email длинный */
}

.contact-link:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    margin-top: clamp(20px, 4vw, 40px);
}

.social-btn {
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s;
}

.social-btn img {
    width: 100%;
    height: auto;
}

.social-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .mobile {
        display: block;
    }

    .unmobile {
        display: none;
    }

    .faq-title {
        font-size: clamp(40px, 12vw, 80px);
    }
}

/* Стили для бокового меню */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* Прячем за левым краем */
    width: 300px;
    height: 100%;
    color: #C70709;
    background-color: #FFFFEE;
    /* Или черный, как на скрине */
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    left: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.menu-close-btn {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    align-self: flex-start;
    margin-bottom: 50px;
}


.menu-link {
    color: #C70709;
    text-decoration: none;
    font-size: 25px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.menu-link:hover {
    opacity: 0.7;
}

/* Чтобы скрыть скролл при открытом меню */
body.no-scroll {
    overflow: hidden;
}



/* Мобильное меню */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* Спрятано слева */
    width: 100%;
    /* Не на весь экран, чтобы был виден оверлей */
    height: 100%;
    background-color: #FFFFEE;
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.mobile-side-menu.active {
    transform: translateX(100%);
}


.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
}


.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mob-link {
    color: #C70709;
    text-decoration: none;
    font-size: 40px;
    letter-spacing: 1px;
}

.mobile-menu-footer {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
}

/* Запрет скролла при открытом меню */
body.stop-scrolling {
    height: 100vh;
    overflow: hidden;
}



/* Окно корзины */
.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    /* Начальное состояние чуть меньше */
    width: 90%;
    max-width: 500px;
    background-color: #FFFFEE;
    border-radius: 2vw;
    z-index: 2001;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Шапка корзины */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #C70709;
    padding-bottom: 10px;
}

.cart-title {
    color: #C70709;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
}

.cart-close-btn {
    background: none;
    border: none;
    color: #C70709;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

/* Список товаров */
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    background: #eee;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cart-item-name {
    color: #C70709;
    font-weight: bold;
    text-transform: lowercase;
}

.cart-item-price {
    color: #C70709;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #C70709;
    font-size: 20px;
    cursor: pointer;
}

/* Футер корзины */
.cart-footer {
    margin-top: 20px;
    border-top: 2px solid #C70709;
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    color: #C70709;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
}

.cart-checkout-btn {
    width: 100%;
    background-color: #C70709;
    color: #FFFFEE;
    border: none;
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.cart-checkout-btn:hover {
    background-color: #000;
}